package com.ants.boot.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;

/**
 * @author 蚂蚁会花呗
 * @date 2022/1/11 15:53
 */
@ApiModel(value = "用户信息搜索查询分页对象")
public class QueryDto extends PageDto{

    @NotNull(message = "名称不能为空！")
    @ApiModelProperty(value = "用户名", required = true)
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
